package com.yixuan.mt.common.properties;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component
@Data
public class GlobalProperties {
    @Value("${server.host:0.0.0.0}")
    private String host;
    @Value("${server.port:19999}")
    private int port;
    @Value("${admin.username:mt}")
    private String adminDefaultUsername;
    @Value("${admin.password:mt}")
    private String adminDefaultPassword;
}